//package com.acwer.drgs.performance.es.domain;
//
//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;
//import lombok.AllArgsConstructor;
//import lombok.Data;
//import lombok.NoArgsConstructor;
//import org.springframework.data.annotation.CreatedDate;
//import org.springframework.data.annotation.Id;
//import org.springframework.data.elasticsearch.annotations.DateFormat;
//import org.springframework.data.elasticsearch.annotations.Document;
//import org.springframework.data.elasticsearch.annotations.Field;
//import org.springframework.data.elasticsearch.annotations.FieldType;
//
//import java.time.Instant;
//import java.util.Date;
//
//
//@Data
//@NoArgsConstructor
//@AllArgsConstructor
//@ApiModel(value = "ES测试类" )
//@Document(indexName = "test")
//public class Test {
//
//    @ApiModelProperty("主键")
//    @Id
//    private String id;
//
//    @ApiModelProperty("名称")
//    private String name;
//
//    @CreatedDate
//    @Field(type = FieldType.Date,name ="@timestamp", format = DateFormat.basic_date)
//    private Instant ctime;
//}
